package org.shreker.shan.rbac.service.impl;

import org.shreker.shan.rbac.domain.Permission;
import org.shreker.shan.rbac.mapper.PermissionMapper;
import org.shreker.shan.rbac.service.IPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PermissionServiceImpl implements IPermissionService {
	
	@Autowired
	private PermissionMapper permissionMapper;

	public void save(Permission permission) throws Exception {
		permissionMapper.insert(permission);
	}

}
